package itesm.coler.converters;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import itesm.coler.models.User;

@XmlRootElement(name = "User")
public class UserConverter {
	
	private User holi;
	
	public UserConverter(){
		holi = new User();
	}
	
	public UserConverter(User waza){
		holi = waza;
	}
	
	@XmlElement
	public String getFirstName(){
		return holi.getFirstName();
	}
	
	@XmlElement
	public String getLastName(){
		return holi.getLastName();
	}
	
	@XmlElement
	public String getMiddleName(){
		return holi.getMiddleName();
	}
	
	@XmlElement
	public String getPassword(){
		return holi.getPass();
	}
	

}
